package com.eastfair.builder;

import com.eastfair.core.base.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 报馆图纸feign
 *
 * @author dqq
 * @date 2023 /5/15
 */
@FeignClient("builder/reportDrawing")
public interface ReportDrawingFeign {


    /**
     * 是否需要场馆审核
     *
     * @param reportSpaceId the report space id
     * @param isDouble      the is double
     * @param isPoint       the is point
     * @return the need venue audit
     */
    @GetMapping("/get/needVenueAudit")
    R<Boolean> getNeedVenueAudit(@RequestParam("reportSpaceId") Long reportSpaceId,
                                 @RequestParam("isDouble") Integer isDouble,
                                 @RequestParam("isPoint") Integer isPoint);
}